<div class="header">
  <back-Btn></back-Btn>
  农民工工资付款
</div>
<div class="container finance task-review">
  <div class="list f_sk">
    <div user-info no="TaskReview.result.fileNo" depname="TaskReview.result.departmentName"
      date="TaskReview.result.applyDate" username="TaskReview.result.userName"></div>
    <div class="section">
      <div class="list-item flex">
        <div class="c9 w40">项目编号</div>
        <div class="w60">{{ TaskReview.result.projectNo }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">项目名称</div>
        <div class="w60" relative-module="project_store" module-no="{{ TaskReview.result.projectNo }}">
          {{ TaskReview.result.projectName }}
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.contractNo">
        <div class="c9 w40">合同编号</div>
        <div class="w60">{{ TaskReview.result.contractNo }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.contractName">
        <div class="w40 c9">合同名称</div>
        <div class="w60" relative-module="{{TaskReview.result.contractType}}"
          module-no="{{ TaskReview.result.contractNo }}">
          {{ TaskReview.result.contractName }}
        </div>
      </div>
      <div class="list-item flex">
        <div class="c9 w40">工资年份 </div>
        <div class="w60">{{ TaskReview.result.year }}</div>
      </div>
      <div class="list-item flex">
        <div class="c9 w40">工资月份 </div>
        <div class="w60">{{ TaskReview.result.month }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.payDate">
        <div class="c9 w40">支付日期</div>
        <div class="w60">{{ TaskReview.result.payDate }}</div>
      </div>
      <div class="list-item flex">
        <div class="c9 w40">款项来源</div>
        <div class="w60" ng-switch="TaskReview.result.sourceType">
          <div ng-switch-when="1">农民工工资账户余额</div>
          <div ng-switch-when="2">项目账户余额</div>
        </div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">付款金额</div>
        <div class="w60">{{ TaskReview.result.amount|NBFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">付款金额大写</div>
        <div class="w60">{{ TaskReview.result.amountInWorld }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">收款人</div>
        <div class="w60">{{ TaskReview.result.receivePerson }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.receiveAccount">
        <div class="w40 c9">收款人账号</div>
        <div class="w60">{{ TaskReview.result.receiveAccount }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.receiveBank">
        <div class="w40 c9">收款人开户行</div>
        <div class="w60">{{ TaskReview.result.receiveBank }}</div>
      </div>
      <div class="list table-list" ng-show="TaskReview.result.payments&&TaskReview.result.payments.length>0">
        <div class="info-title">其他费用明细 </div>
        <div class="table-item" ng-repeat="item in TaskReview.result.payments">
          <div class="list-item">
            <div class="item-label">款项来源</div>
            <div class="flow-content">
              {{ item.sourceType=="1"?"农民工工资账户余额":"项目账户余额" }}
            </div>
          </div>
          <div class="list-item">
            <div class="item-label">计入合同已付款</div>
            <div class="flow-content">{{ item.inContract=="0"?"否":"是" }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">付款金额</div>
            <div class="flow-content">{{ item.amount|NBFmt }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">收款人</div>
            <div class="flow-content">{{ item.receivePerson}}</div>
          </div>
          <div class="list-item">
            <div class="item-label">收款人账号</div>
            <div class="flow-content">{{ item.receiveAccount }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">收款人开户行</div>
            <div class="flow-content">{{ item.receiveBank }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">付款事由</div>
            <div class="flow-content">{{ item.remark }}</div>
          </div>
            <div class="file-upload" file-list file-data="item.attachment" checked="true"></div>
        </div>
    </div>
      <div class="list-item flex" ng-hide="TaskReview.result.completion==0">
        <div class="w40 c9">付款状态</div>
        <div class="w60" ng-switch="TaskReview.result.completion">
          <div ng-switch-when="0">未支付</div>
          <div ng-switch-when="1">已支付</div>
        </div>
      </div>
      <div class="list-item flex" ng-hide="TaskReview.result.refundStatus==0">
        <div class="w40 c9">退回状态</div>
        <div class="w60" ng-switch="TaskReview.result.refundStatus">
          <div ng-switch-when="0">未退回</div>
          <div ng-switch-when="1">已退回</div>
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.remark">
        <div class="w40 c9">备注</div>
        <div class="w60">{{ TaskReview.result.remark }}</div>
      </div>
      <!-- 附件 -->
      <div class="list-item list-item-textarea" file-list checked="true" file-data="TaskReview.result.attachment"></div>
      <!-- 自定义字段 -->
      <div checkuser-define field-map="TaskReview.result.customFields"></div>
    </div>
    <!-- 审查日志 -->
    <div log-list taskid="process_id"></div>
  </div>
</div>